package com.kikcn.demo.services;

import com.kikcn.demo.domain.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * User: Administrator
 * Date: 2015/3/12
 * Time: 23:01
 */
public interface IArticleService {
    public void save(Article article);

    public Page<Article> list(Pageable page);

    public void delete(Article article);

    public void delete(Integer id);

    public void update(Article article);

    public Article findOne(Integer id);

    public long count();
}
